﻿using AnlianCommon.Common.DTO;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace SheepCommon.API.Vendors
{
    public class BankaccountUpdateCommand:IRequest<Result>
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public int BankaccountId { get; set; }
        /// <summary>
        /// 银行名称
        /// </summary>
        public string? BankaccountName { get; set; }
        /// <summary>
        /// 开户行
        /// </summary>
        public string? Bank { get; set; }
        /// <summary>
        /// 账户名称
        /// </summary>
        public string? BName { get; set; }
        /// <summary>
        /// 账户号码
        /// </summary>
        public string? BaccountPhone { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string? Bphone { get; set; }
        /// <summary>
        /// 账户类型
        /// </summary>
        public string? BType { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string? BCard { get; set; }
        /// <summary>
        /// 账号属性
        /// </summary>
        public string? Battribute { get; set; }
        /// <summary>
        /// 账户关系
        /// </summary>
        public string? Brelationship { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Bremark { get; set; }
        /// <summary>
        /// 供应商外键Id
        /// </summary>
        public int? VendorId { get; set; }
        /// <summary>
        /// 客户外键
        /// </summary>
        public int? ClientId { get; set; }
    }

}
